<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加图书信息</title>
</head>
<body>
    <form action="{% url 'addbook' %}" method="post" name="bookFrom">
        {% csrf_token %}
        <label>图书名称：</label>
        <input type="text" name="title" value="">
        <br>
        <label>出版日期：</label>
        <input type="date" name="pub_date" value="">
        <br>
        <input type="submit" value="提交">
    </form>
</body>
</html>